package com.qingzhuge.verification.dto.ali;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class DataInfo implements Serializable {
    private static final long serialVersionUID = -4002169838757728841L;
    /**本次核身的错误信息。*/
    @JSONField(serialize = false)
    private String errMsg;
    @Expose
    private Integer statusCode;
    private String authFacePic;
    /**本次核身最终结果。0为成功*/
    @SerializedName("ErrCode")
    @Expose
    @ApiModelProperty("认证状态:true = 通过\\false = 不通过")
    private Boolean status;
    /**本次核身最终获得的姓名。*/
    @SerializedName("Name")
    @Expose
    private String name;
    /**本次核身最终获得的身份证号*/
    @JSONField(serialize = false)
    @SerializedName("IdCard")
    @Expose
    private String identificationNumber;
    @JSONField(serialize = false)
    private String idCardType;
    @JSONField(serialize = false)
    private String idCardStartDate;
    /**ocr阶段获取的证件有效期*/
    @SerializedName("OcrValidDate")
    @Expose
    @JSONField(serialize = false)
    private String idCardExpiry;
    /**ocr阶段获取的地址*/
    @SerializedName("OcrAddress")
    @Expose
    @JSONField(serialize = false)
    private String address;
    /**ocr阶段获取的性别*/
    @SerializedName("OcrGender")
    @Expose
    @JSONField(serialize = false)
    private String sex;
    @JSONField(serialize = false)
    private String ethnicGroup;
}
